package commandCase;

public class LigintOnCommand  implements  Command{
  Light light;

    public LigintOnCommand(Light light) {
        this.light = light;
    }

    @Override
    public void excute() {
        light.on();
    }

}
